package cn.yj.email.executor;

import cn.yj.email.handle.Email;
import org.springframework.mail.javamail.JavaMailSender;

/**
 * <p>
 *
 * </p>
 *
 * @author 永健
 * @since 2019-06-01 14:07
 */
public abstract class EmailExecutor
{
    protected abstract JavaMailSender javaMailSender();

    public abstract void send(Email email);
}
